/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DIPviolation.model;

/**
 *
 * @author Enkosi
 */
public class Manager extends Worker{
    Worker m_worker;

    public int manage(){
       return super.hour * super.getRate();
    }

    /**
     * @return the m_worker
     */
    public Worker getM_worker() {
        return m_worker;
    }

    /**
     * @param m_worker the m_worker to set
     */
    public void setM_worker(Worker m_worker) {
        this.m_worker = m_worker;
    }
}
